From 253b109184e7adfa6b8527e3fb357cf321884f39 Mon Sep 17 00:00:00 2001 From: "iap10@labyrinth.cl.cam.ac.uk" Date: Wed, 18 Aug 2004 14:22:34 +0000 Subject: [PATCH] bitkeeper revision 1.1159.1.74 (4123662aRknZaZVDiDYz5H1bs5ZhmA) Cset exclude: iap10@labyrinth.cl.cam.ac.uk|ChangeSet|20040817172414|62757 --- tools/python/xen/xm/main.py | 4 ++-- tools/python/xen/xm/migrate.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index 5ba20095e5..6bf7f83d83 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -302,10 +302,10 @@ class ProgMigrate(Prog): info = """Migrate a domain to another machine.""" def help(self, args): - migrate.help(args) + migrate.help([self.name] + args) def main(self, args): - migrate.main(args) + migrate.main([self.name] + args) xm.prog(ProgMigrate) diff --git a/tools/python/xen/xm/migrate.py b/tools/python/xen/xm/migrate.py index 2ad18946b0..3b446f0bf0 100644 --- a/tools/python/xen/xm/migrate.py +++ b/tools/python/xen/xm/migrate.py @@ -23,6 +23,7 @@ gopts.opt('help', short='h', use="Print this help.") def help(argv): + gopts.argv = argv gopts.usage() def main(argv): -- 2.30.2